home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
uname.z
/
uname
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
UUUUNNNNAAAAMMMMEEEE((((1111)))) UUUUNNNNAAAAMMMMEEEE((((1111))))
NNNNAAAAMMMMEEEE
uname - identify the current IRIX system
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
uuuunnnnaaaammmmeeee [ ----ssssnnnnrrrrvvvvmmmmppppaaaaddddRRRR ]
uuuunnnnaaaammmmeeee [ ----VVVV INSTVERSIONNUM ]
uuuunnnnaaaammmmeeee [ ----SSSS nodename ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_u_n_a_m_e prints information that identifies the current IRIX system to
standard output. The string IRIX64 is printed on systems that support
64-bit addressing (pointers); also see the KKKKEEEERRRRNNNN____PPPPOOOOIIIINNNNTTTTEEEERRRRSSSS argument to
_s_y_s_c_o_n_f(1).
The options cause selected information returned by _u_n_a_m_e(2) to be
printed:
----aaaa Behave as though all of the options ----mmmmnnnnrrrrssssvvvv were specified.
----mmmm Print the machine hardware name. This is the type of CPU board that
the system is running on, e.g. IIIIPPPP22222222.
----nnnn Print the hostname or nodename. The nodename is the name by which
the system is known to communications networks.
----pppp Print the (informal) name of the current system's instruction set
architecture. See the SSSSIIII____AAAARRRRCCCCHHHHIIIITTTTEEEECCCCTTTTUUUURRRREEEE section of _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo(2).
----rrrr Print the operating system release. This string begins with one of
the following forms: _m._n or _m._n._a where _m is the major release
number, _n is the minor release number and _a is the (optional)
maintenance level of the release; e.g. 3333....2222 or 3333....2222....1111.
----RRRR Print the extended release name, usually the name of a hardware
specific release. Implies the ----rrrr option. The string returned will
be empty (that is, the ----rrrr and ----RRRR options will produce the same
output) on the base OS release. This option shows additional
information similar to that printed on the CD label for hardware
specific releases.
----ssss Print the (operating) system name (the default).
----SSSS _nnnn_oooo_dddd_eeee_nnnn_aaaa_mmmm_eeee
Change the hostname or nodename to the specified _nnnn_oooo_dddd_eeee_nnnn_aaaa_mmmm_eeee. This
changes only the runtime name, and is normally unused. The
_h_o_s_t_n_a_m_e(1) command is the recommended method of setting this field,
because it will allow for longer names. _h_o_s_t_n_a_m_e uses the contents
of ////eeeettttcccc////ssssyyyyssss____iiiidddd to set the name during system startup. Only the
super-user is allowed this capability.
PPPPaaaaggggeeee 1111
UUUUNNNNAAAAMMMMEEEE((((1111)))) UUUUNNNNAAAAMMMMEEEE((((1111))))
----vvvv Print the operating system version. This is the date and time that
the operating system was generated, and has the form: _m_m_d_d_h_h_m_m.
The ----dddd and ----VVVV options decode the inst version-number, a 10-digit integer
that, if present, is the last field in the release-name string returned
by `_u_n_a_m_e -_r'. Alpha and Beta releases have inst version-numbers, final
releases do not. This number represents encoded information about the
origin of the release.
`_u_n_a_m_e -_d' attempts to report the running system's inst version
information; if the release has no inst version-number, _u_n_a_m_e displays an
error message.
`_u_n_a_m_e -_V _I_N_S_T_V_E_R_S_I_O_N_N_U_M' interprets and displays the information encoded
in INSTVERSIONNUM; if the number is invalid, _u_n_a_m_e displays an error
message.
NNNNOOOOTTTTEEEESSSS
Do not confuse the 8-digit version number returned by `_u_n_a_m_e -_v'--present
in all releases--with the 10-digit inst version-number. The two serve
different--if somewhat overlapping--purposes.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
hostname(1), inst(1M), sysconf(1), versions(1M), uname(2), sysinfo(2),
sys_id(4)
PPPPaaaaggggeeee 2222